import {post} from "@/utils/request";
import config from "@/config";

/** 接口基地址 */
const getUrl = (url: string) => config.apiBaseUrl + '/sys/permission' + url;
export default {

  /** 从缓存中查询当前用户权限 */
  async selectCurrentUserPermissionFromCache(): Promise<any> {
    return post(getUrl('/selectCurrentUserPermissionFromCache'));
  },

}
